package com.fas.system.domain.vo;

import com.fasterxml.jackson.databind.annotation.JsonDeserialize;
import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import lombok.Data;

import java.io.Serializable;

/**
 * 巡检员，建筑下的设施
 */
@Data
public class IpqcLineBuildingFacilityVo implements Serializable {

    private Integer id;                 //设施表主键
    @JsonSerialize(using = LongJsonSerializer.class)
    @JsonDeserialize(using = LongJsonDeserializer.class)
    private Long taskId;//任务id
    private Integer buildingId;    //建筑id
    private Integer floor;// 楼层
    private Integer facilityType;// 设施类型id
    private String facilityTypeName;// 设施类型名称
    private String position;// 设施位置
    private Integer dataItemNUm;//检查项数量

    private Integer treatmentMethod;//处理方式（0：现场处理，1：上报工单）
}
